<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->

<!-- Bootstrap -->
<link rel="stylesheet" href="resource/css/bootstrap.min.css">
<link rel="stylesheet"
	href="http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]-->
<script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<!--[endif]-->
<title></title>
</head>
<body>
	<div class="panel panel-default">
		<div class="panel-heading">
			<h3 class="panel-title">企业信息维护</h3>
		</div>
		<div class="panel-body">
			<div class="container-fluid">
				<sf:form class="form-horizontal" method="post" action="?upDate"
					modelAttribute="companyInfo">
					<sf:input class="form-control" type="hidden"
						placeholder="${companyInfo.id}" id="id" path="id" />
					<sf:input class="form-control" type="hidden"
						placeholder="${companyInfo.version}" id="version" path="version" />
					<div class="form-group">
						<label for="address" class="control-label col-lg-2"> 地址</label>
						<div class="col-lg-9">
							<sf:input class="form-control" type="text"
								placeholder="${companyInfo.address}" id="address" path="address" />
						</div>
					</div>
					<div class="form-group">
						<label for="tel" class="control-label col-lg-2"> 电话</label>
						<div class="col-lg-9">
							<sf:input class="form-control" type="text"
								placeholder="${companyinfo.tel}" id="tel" path="tel" />
						</div>
					</div>
					<div class="form-group">
						<label for="banknum" class="control-label col-lg-2"> 转账账号</label>
						<div class="col-lg-9">
							<sf:input class="form-control" type="text"
								placeholder="${companyinfo.bankNum}" id="banknum" path="bankNum" />
						</div>
					</div>
					<div class="form-group">
						<label for="notes" class="control-label col-lg-2"> 备注</label>
						<div class="col-lg-9">
							<sf:input class="form-control" type="text"
								placeholder="${companyinfo.notes}" id="notes" path="notes" />
						</div>
					</div>
					<div class="form-group">
						<label for="discription" class="control-label col-lg-2">
							注意事项</label>
						<div class="col-lg-9">
							<sf:textarea class="form-control" rows="5" id="discription"
								path="description" />
						</div>
					</div>
					<div class="form-control-static col-lg-3 col-lg-offset-5">
						<input type="submit" class="btn btn-success btn-lg" value="提交">
					</div>
				</sf:form>
			</div>
		</div>
	</div>

	<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
	<script src="/resource/js/jquery.min.js"></script>
	<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
	<script src="/resource/js/bootstrap.min.js"></script>
</body>
</html>